package com.ruoyi.webContent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * mt5Point对象 mt5_point
 * 
 * @author ruoyi
 * @date 2020-06-29
 */
public class Mt5Point extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 是否操作 */
    @Excel(name = "是否操作")
    private Integer isDo;

    /** 单做多 单做空 单平仓（lots） 平多（全平）并做空（lots） 平空（全平）并做多*/
    @Excel(name = "操作类型")
    private Integer doWhat;

    /** 做单基础数 基础数或百分比  含%则为百分比*/
    @Excel(name = "做单基础数")
    private Long lots;

    /** null */
    @Excel(name = "null")
    private Long lineUp;

    /** null */
    @Excel(name = "null")
    private Long lineDown;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIsDo(Integer isDo) 
    {
        this.isDo = isDo;
    }

    public Integer getIsDo() 
    {
        return isDo;
    }
    public void setDoWhat(Integer doWhat) 
    {
        this.doWhat = doWhat;
    }

    public Integer getDoWhat() 
    {
        return doWhat;
    }
    public void setLots(Long lots) 
    {
        this.lots = lots;
    }

    public Long getLots() 
    {
        return lots;
    }
    public void setLineUp(Long lineUp) 
    {
        this.lineUp = lineUp;
    }

    public Long getLineUp() 
    {
        return lineUp;
    }
    public void setLineDown(Long lineDown) 
    {
        this.lineDown = lineDown;
    }

    public Long getLineDown() 
    {
        return lineDown;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("isDo", getIsDo())
            .append("doWhat", getDoWhat())
            .append("lots", getLots())
            .append("lineUp", getLineUp())
            .append("lineDown", getLineDown())
            .toString();
    }
}
